package cn.eonshine.cuba.lsms.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;

/**
 * 罐车仓位信息Entity
 * @author fz
 * @version 2019-02-18
 */
@Data
@TableName("b_compartment_tank")
public class BCompartmentTank extends Model<BCompartmentTank> {

    @TableId("ID")
	private String id;
    @TableField("VEHICLE_ID")
	private String vehicleId;		// 油罐车主键
    @TableField("CODE")
	private String code;		// 仓号
    @TableField("OIL_ID")
	private String oilId;		// 油品主键
    @TableField("VOLUME")
	private Double volume;		// 仓容体积
	/**
     * creator 创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater  更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time  更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information  备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field   删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    
	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return id;
	}

	/**   
	 * <p>Title: toString</p>   
	 * <p>Description: </p>   
	 * @return   
	 * @see java.lang.Object#toString()   
	 * @author: Alan
	 * @date:   2019-02-18 13:31:33
	 */
	@Override
	public String toString() {
		return "BCompartmentTank [id=" + id + ", vehicleId=" + vehicleId + ", code=" + code + ", oilId=" + oilId
				+ ", volume=" + volume + ", createBy=" + createBy + ", createDate=" + createDate + ", updateBy="
				+ updateBy + ", updateDate=" + updateDate + ", remarks=" + remarks + ", delFlag=" + delFlag + "]";
	}
	
}